import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import show from '@/components/show'
import login from '@/components/login'
import datails from '@/components/datails'
import showdetail from '@/components/showdetail'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
{
      path: '/show',
      name: 'show',
      component: show
    },
{
      path: '/login',
      name: 'login',
      component: login
    },
{
      path: '/datails',
      name: 'datails',
      component: datails
    },

{
      path: '/showdetail',
      name: 'showdetail',
      component: showdetail
    },




  ]
})
